package com.zmn.oms.persistence.interfaces.chan.pay;

import com.zmn.oms.model.entity.chan.pay.AbnormalPayment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 类描述：
 *
 * @author lhl
 * @date 2020-11-26 21:33:25
 */
public interface AbnormalPaymentDAO {

    /**
     * 查询指定订单号的非正常支付信息
     * @param orderId
     * @return
     */
    List<AbnormalPayment> listByOrderId(@Param("orderId") Long orderId);

    /**
     *  保存
     * @param model
     * @return
     */
    int insert(AbnormalPayment model);
}
